Skip to content

chore: fill or remove RSR template placeholders - #37

Merged
hyperpolymath merged 3 commits into
mainfrom
fix/rsr-placeholders
Jul 28, 2026
Merged

chore: fill or remove RSR template placeholders#37
hyperpolymath merged 3 commits into
mainfrom
fix/rsr-placeholders

Conversation

@hyperpolymath

Copy link
Copy Markdown
Owner

openssf-compliance.yml fails when any of the thirteen files it checks still contains a {{PLACEHOLDER}} token. This clears them, with no invention.

  • Deleted the TEMPLATE INSTRUCTIONS (delete this block before publishing) comment — the template says to delete it, and it is where every legend line lived, so a large share of the reported tokens were the file documenting its own placeholders.
  • Filled what the repository itself supplies: owner and repo from the git remote, project name, year, forge, main branch, contact email.
  • Removed PGP and website lines. https://github.com/<user>.gpg returns HTTP 200 for every account; with no key uploaded the body is a stub reading "This user hasn't uploaded any GPG keys". No key is published for either account, and commit signing here is SSH — unrelated. The template sanctions this: "Optional: Remove sections that don't apply (e.g. PGP if you don't use it)."\n\nA security policy telling a researcher to encrypt to a key that does not exist is worse than one that does not mention encryption.\n\nWhere applicable, this also fixes a misrouted advisory URL. A previous just init copied already-filled templates out of squisher-corpus, so 51 repositories directed vulnerability reports to hyperpolymath/squisher-corpus — a repository unrelated to the code being reported, meaning the affected maintainer never saw them. Repointed from this repository's own git remote.

hyperpolymath and others added 3 commits July 26, 2026 14:54
openssf-compliance.yml fails when any of the thirteen files it checks
still contains a {{PLACEHOLDER}} token. This clears them.

Three kinds of change, no invention:

The "TEMPLATE INSTRUCTIONS (delete this block before publishing)" comment
is deleted. The template says to delete it, and it is where every legend
line lives -- so a large share of the reported tokens were the file
documenting its own placeholders, not real unfilled fields.

Tokens derivable from the repository are filled: owner and repo from the
git remote, project name, year, forge, main branch, contact email.

PGP and website lines are removed rather than filled, because nothing
true could go in them. https://github.com/<user>.gpg returns HTTP 200 for
every account; with no key uploaded the body is a stub reading "This user
hasnt uploaded any GPG keys". No key is published for either account
here, and commit signing in this estate is SSH, which is unrelated. Only
one repository in the estate has a domain, so {{WEBSITE}} likewise has no
correct value. The template sanctions this: "Optional: Remove sections
that dont apply (e.g. PGP if you dont use it)." A security policy telling
a researcher to encrypt to a key that does not exist is worse than one
that does not mention encryption.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Signed-off-by: Jonathan D.A. Jewell <6759885+hyperpolymath@users.noreply.github.com>
@sonarqubecloud

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
C Security Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

Comment thread SECURITY.md
Comment thread SECURITY.md
@gitar-bot

gitar-bot Bot commented Jul 28, 2026

Copy link
Copy Markdown

Note

Automatic reviews are paused because your trial's included automatic processing has been used for this period. Upgrade now, or comment "Gitar review" to run a review anytime.
Learn more

CI failed: The CI build failed because the CodeQL GitHub Actions workflow references an invalid or unresolvable commit SHA.

Overview

1 log was analyzed, revealing a tooling failure in the GitHub Actions workflow where an invalid commit SHA for the CodeQL action caused the workflow setup to fail.

Failures

Unresolvable CodeQL Action SHA (confidence: high)

  • Type: tooling
  • Affected jobs: 90327426881
  • Related to change: yes
  • Root cause: The CodeQL action reference uses a commit SHA (29b1f65c1f735799893313399435a59f54045865) that could not be found or resolved by GitHub Actions.
  • Suggested fix: Update the CodeQL action reference in the workflow file (.github/workflows/codeql.yml) to use a valid tag, branch, or existing commit SHA.

Summary

  • Change-related failures: 1 tooling failure due to an invalid action reference in the workflow configuration.
  • Infrastructure/flaky failures: 0
  • Recommended action: Update .github/workflows/codeql.yml to use a valid CodeQL action version or SHA.
Code Review ✅ Approved 2 resolved / 2 findings

Clears RSR template placeholders and corrects misrouted advisory URLs across the repository, but SECURITY.md still contains an unfilled version support template comment and directs reporters to a non-existent PGP key.

✅ 2 resolved
Quality: SECURITY.md still directs reporters to a non-existent PGP key

📄 SECURITY.md:44-56 📄 SECURITY.md:355 📄 SECURITY.md:45
The PR description states PGP lines were removed because no key is published (curling https://github.com/hyperpolymath.gpg returns only a stub). But SECURITY.md still contains the PGP section (lines 44-56), the 'Additional Resources' PGP link (line 355), and a fingerprint of TBD (line 45). This recreates exactly the problem the PR claims to fix: instructing researchers to import and encrypt to a key that does not exist, and shipping a TBD placeholder value. Remove the PGP row, the import/encrypt bash block, and the resources link, or supply a real fingerprint and published key.

Quality: Leftover template instruction comment in SECURITY.md

📄 SECURITY.md:320
Line 320 retains the template comment <!-- Adjust this table to match your actual version support policy -->, which is an unfilled template placeholder of the kind this PR set out to clear. Remove the comment (and confirm the Supported Versions table reflects the real policy).

Tip

Comment Gitar fix CI to trigger a fix.

Options

Display: compact → Showing less information.

Comment with these commands to change the behavior for this request:

Compact
gitar display:verbose         

Was this helpful? React with 👍 / 👎 | Gitar

@hyperpolymath
hyperpolymath merged commit 34a52b9 into main Jul 28, 2026
13 of 15 checks passed
@hyperpolymath
hyperpolymath deleted the fix/rsr-placeholders branch July 28, 2026 16:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant